<template>
   <form @submit="smsg">
    <view class="xb-page">
    <view class="uni-flex uni-column">
        <view class="uni-flex uni-row">
             <view></view>
             <view class="uni-flex uni-row">
<tag @click="tagsel(1)" type="button” size="small" :inverted="stu-sel"></tag>
<tag @click="tagsel(2)" type="button" size="small" :inverted="cls-sel"><tag>
</view>
        </view>
        <view class="xb-list-cell">
                        <view class="xb-list-cell-row">
                             <view class="xb-page-list-cell-title">title</view><picker mode="selector" class="xb-select" >选择学生</picker></view></view>
        

       <view class="xb-list-cell">
                        <view class="xb-list-cell-row">
                             <view class="xb-page-list-cell-title">title</view><input placeholder-class="xb-input-placeholder" class="xb-input">主题</input></view></view>
        <view class="xb-list-cell">
                        <view class="xb-list-cell-row">
                             <view class="xb-page-list-cell-title">title</view><input placeholder-class="xb-input-placeholder" class="xb-input">通知类型</input></view></view>
        <view class="xb-list-cell">
                        <view class="xb-list-cell-row">
                             <view class="xb-page-list-cell-title">title</view><input placeholder-class="xb-input-placeholder" class="xb-input">通知内容</input></view></view>
        

    </view>

    </form>









    </view>
    </form>
</template>

<script>
	import pageHead from '../../../components/page-head.vue'
    export default {
        data(){ 
            return {
                stu-sel:null,
                cls-sel:null,
                formdata:{

                },



            }

        },
        methods: {
         tagsel:function(type){
            if(type===1){
                stu-sel=true;
                cls-sel=false;
            }
            else {
                stu-sel=true;
                cls-sel=false
            }
         }





            smsg:function(){
                const res=await sendmessage(formdata);
                if(res.success==true){

                }
                else {

                }
            }
           

        }
    }
</script>

<style>
    @import "../../../common/uni.css";
</style>
